package com.ly.heart.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ly.heart.domain.KingFinanceReceiptEntity;
import com.ly.heart.domain.vo.KingFinanceReceiptMenuVo;

/**
 * 财务模块-收款单,推金蝶Mapper接口
 *
 * @author wutao
 * @date 2024-06-19
 */
public interface KingFinanceReceiptMapper extends BaseMapper<KingFinanceReceiptEntity> {
    /**
     * 查询财务模块-收款单,推金蝶
     *
     * @param id 财务模块-收款单,推金蝶ID
     * @return 财务模块-收款单,推金蝶
     */
    KingFinanceReceiptEntity selectKingFinanceReceiptEntityById ( String id );

    /**
     * 查询财务模块-收款单,推金蝶列表
     *
     * @param kingFinanceReceiptEntity 财务模块-收款单,推金蝶
     * @return 财务模块-收款单,推金蝶集合
     */
    List<KingFinanceReceiptEntity> selectKingFinanceReceiptEntityList ( KingFinanceReceiptEntity kingFinanceReceiptEntity );

    Integer selectKingFinanceReceiptEntityCount ( KingFinanceReceiptEntity kingFinanceReceiptEntity );

    /**
     * 通过Id查询关联对象信息
     *
     * @param id
     * @return
     */
    KingFinanceReceiptEntity querySingleById ( String id );

    /**
     * 收款退款单选择收款单
     *
     * @param kingFinanceReceiptEntity
     * @return
     */
    List<KingFinanceReceiptMenuVo> queryList ( KingFinanceReceiptEntity kingFinanceReceiptEntity );

    Integer queryCount ( KingFinanceReceiptEntity kingFinanceReceiptEntity );
}
